package com.longxi.tianjintianbao.model.message;

public class Message {
    private int id;
    private int image;
    private int role;
    private int unreadMessages;
    private String name;
    private String message;
    private String time;
    private boolean isRing;

    public Message() {
    }

    public Message(int id, int image, int role, int unreadMessages, String name, String message, String time, boolean isRing) {
        this.id = id;
        this.image = image;
        this.role = role;
        this.unreadMessages = unreadMessages;
        this.name = name;
        this.message = message;
        this.time = time;
        this.isRing = isRing;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getImage() {
        return image;
    }

    public void setImage(int image) {
        this.image = image;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public int getUnreadMessages() {
        return unreadMessages;
    }

    public void setUnreadMessages(int unreadMessages) {
        this.unreadMessages = unreadMessages;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public boolean isRing() {
        return isRing;
    }

    public void setRing(boolean ring) {
        isRing = ring;
    }
}
